package netty;

import com.ww.microrpc.netty.serializer.hessian.Hessian1Serializer;
import com.ww.testclient.order.util.OrderData;
import org.junit.Test;

public class NettyMessage {

    @Test
    public void testMessage1(){
        byte[] bytes = OrderData.msg10.getBytes();
        System.out.println(bytes.length);
        Hessian1Serializer serializer = new Hessian1Serializer();
        byte[] serialize = serializer.serialize(OrderData.msg10);
        System.out.println(serialize.length);
    }
}
